package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 费用统计对象 sys_heat_fee
 * 
 * @author ruoyi
 * @date 2024-11-21
 */
@Data
public class SysHeatFee extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long feeId;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 设备id */
    @Excel(name = "设备id")
    private Long deviceId;

    /** 费用 */
    @Excel(name = "费用")
    private BigDecimal fee;

    /** 上期热量 */
    @Excel(name = "上期热量")
    private BigDecimal lastHeatQuantity;

    /** 开始度数 */
    private BigDecimal beginHeatQuantity;

    /**
     * 开始费用
     */
    private BigDecimal beginFee;
    /** 数据日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "数据日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date inDate;



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("feeId", getFeeId())
            .append("deptId", getDeptId())
            .append("deviceId", getDeviceId())
            .append("fee", getFee())
            .append("lastHeatQuantity", getLastHeatQuantity())
            .append("createTime", getCreateTime())
            .append("inDate", getInDate())
            .toString();
    }
}
